﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cnae_modal.aspx.cs" Inherits="softsales.pagina.cnae.cnae_modal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

       <%--ESTILOS--%>


    <link href="~/css/softsales.css" rel="stylesheet" type="text/css" />
    <link href="~/css/ui/ui.base.css" rel="stylesheet" type="text/css" />        
    <link href="~/css/themes/gray_lightness/ui.css" rel="stylesheet" type="text/css" />

    
</head>
<body>
    <form id="form1" runat="server">
   

    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    
    
   <div class="content-box">
<div class="softsales-form-linha">
<div class="float-left">
<div class="title">
				<h2><asp:Label ID="LBL_TITULO_PAGINA" runat="server" Text="TB_CNAE"></asp:Label></h2>
					
				</div>	
                </div>
<div class="float-right">

<div class="filtro">
  
  <span>
    <asp:DropDownList ID="DDL_FILTRO" runat="server">
    </asp:DropDownList></span>

    <span>
    <asp:TextBox ID="TXT_PESQUISAR" CssClass="campo-text"  runat="server"></asp:TextBox>
        <asp:ImageButton ID="IMG_BTN_PESQUISAR" runat="server" 
        ImageUrl="~/images/icons/search.gif" onclick="IMG_BTN_PESQUISAR_Click" 
/></span>

</div>
</div>
<div class="clear"></div>
</div>

</div>
<div class="softsales-tabela">
 <asp:GridView ID="GRV_TB_CNAE" runat="server" onsorting="GRV_TB_CNAE_Sorting" AllowSorting="True" 
        onpageindexchanging="GRV_TB_CNAE_PageIndexChanging" 
        AutoGenerateColumns="False" DataKeyNames="id" EnableModelValidation="True">	  
	<HeaderStyle CssClass="headerGridView" />
	<RowStyle CssClass="itemGridView" />
   	<PagerStyle CssClass="pagerGridView"  />
	<FooterStyle CssClass="footerGridView" />
        <Columns>          
			
				<asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="CHK_ID" runat="server" AutoPostBack="True" 
                            oncheckedchanged="CHK_ID_CheckedChanged" />
                    </ItemTemplate>
                </asp:TemplateField>
			
				<asp:BoundField DataField="id" HeaderText="ID" 
                SortExpression="id"  >											
				<ItemStyle Width="1%" />
                </asp:BoundField>
				<asp:BoundField DataField="descricao" HeaderText="DESCRICAO" 
                SortExpression="descricao"  />											
				<asp:BoundField DataField="sit_ativo" HeaderText="SIT_ATIVO" 
                SortExpression="sit_ativo"  />											
                       
        </Columns>
    </asp:GridView>
	
	    </div>

    <div class="softsales-form-navegacao">
    <div class="float-left">
        <asp:Label ID="Label3" runat="server" Text="P?gina: "></asp:Label>
        <asp:Label ID="LBL_PAGINA_ATUAL" runat="server" Text=""></asp:Label>
        <asp:Label ID="Label4" runat="server" Text=" de  "></asp:Label>
        <asp:Label ID="LBL_PAGINA_TOTAL" runat="server" Text="LBL_PAGINA_TOTAL"></asp:Label>
    </div>
    <div class="float-right">
        <table>
        <tr>
        <td>
        <asp:ImageButton ID="IMG_BTN_PRIMEIRO" runat="server" 
            ImageUrl="~/images/icons/first.gif" onclick="IMG_BTN_PRIMEIRO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ANTERIOR" runat="server" 
            ImageUrl="~/images/icons/previous.gif" onclick="IMG_BTN_ANTERIOR_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_PROXIMO" runat="server" 
            ImageUrl="~/images/icons/forward.gif" onclick="IMG_BTN_PROXIMO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ULTIMO" runat="server" 
            ImageUrl="~/images/icons/last.gif" onclick="IMG_BTN_ULTIMO_Click" />
            </td>
            </tr>
            </table>
    </div>
    <div class="clear"></div>

    </div>
      <div class="content-box">
    
        <div class="softsales-form-linha">
            <input id="BTN_SELECIONAR" type="submit" value="Selecionar" onclick="window.close();" />
            <input id="BTN_FECHAR" type="button" value="Fechar" onclick="window.close();" />
        </div>
    
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>

    </form>
</body>
</html>
